﻿using System;
using System.Collections.Generic;
using System.Text;

namespace Common.Infrastructure.Structs
{
    public class OrgCacheTreeNode
    {
        public OrgCacheTreeNode()
        {
            this.ChildrenNodes = new List<OrgCacheTreeNode>();
            this.AllChildrenIds = new List<string>();
            this.AllParentIds = new List<string>();
        }

        public string OrgId { get; set; }

        public OrgCache Org { get; set; }

        public List<string> AllChildrenIds { get; set; }

        public List<string> AllParentIds { get; set; }

        public List<OrgCacheTreeNode> ChildrenNodes { get; set; }
    }
}
